package com.winit.openapi.oauth.entity;

/**
 * API客户端实体类，一个客户端表示一个调用API实体
 * 
 * @version <pre>
 * Author	Version		Date		Changes
 * minghao.deng 	1.0  		2017年7月21日 	Created
 *
 * </pre>
 * @since 1.
 */
public class APIClientEntity extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = 9026527772229430342L;

    /**
     * 应用所属的开发者ID
     */
    private Long              developerId;

    /**
     * 应用名称
     */
    private String            clientName;

    /**
     * 应用code，此code就是调用API时的平台值platform,每个CLIENT指定一个，有WINIT分配。
     */
    private String            clientCode;

    /**
     * 应用Key
     */
    private String            clientKey;

    /**
     * 应用密匙
     */
    private String            clientSecret;
    /**
     * 类型
     */
    private String            clientType;

    /**
     * 回调URL
     */
    private String            redirectUrl;

    private String            isDefaultUrl;

    /**
     * 授权链接地址
     */
    private String            clientAuthUrl;

    /**
     * logo图标地址
     */
    private String            logoImageUri;

    /**
     * 审核状态Y：审核通过 N：审核不通过
     */
    private String            status;
    /**
     * 应用说明
     */
    private String            comment;

    public Long getDeveloperId() {
        return developerId;
    }

    public void setDeveloperId(Long developerId) {
        this.developerId = developerId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientKey() {
        return clientKey;
    }

    public void setClientKey(String clientKey) {
        this.clientKey = clientKey;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getLogoImageUri() {
        return logoImageUri;
    }

    public void setLogoImageUri(String logoImageUri) {
        this.logoImageUri = logoImageUri;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode;
    }

    public String getClientAuthUrl() {
        return clientAuthUrl;
    }

    public void setClientAuthUrl(String clientAuthUrl) {
        this.clientAuthUrl = clientAuthUrl;
    }

    public String getIsDefaultUrl() {
        return isDefaultUrl;
    }

    public void setIsDefaultUrl(String isDefaultUrl) {
        this.isDefaultUrl = isDefaultUrl;
    }

}
